<div class="panel panel-default panel-intro">
    <style>
        a,div{
            font-style: normal;
        }
    </style>
    <div class="panel-heading">
        <ul class="nav nav-tabs">
            <li class="active"><a href="#one" data-toggle="tab" aria-expanded="true">课程列表</a></li>
            <li><a href="#two" data-toggle="tab" aria-expanded="false">课程添加记录</a></li>
            <li style="font-size: 26px">{$user['username']}({$user['nickname']})</li>
        </ul>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">

                        <a href="javascript:;" class="btn btn-success btn-adds {:$auth->check('user/yalimedia_course_user/single')?'':'hide'}" title="添加" ><i class="fa fa-plus"></i> 添加</a>
                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('user/yalimedia_course_user/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> 批量添加</a>
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('user/yalimedia_course_user/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                    <input id='ids' value="{:$ids}" type="hidden">

                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('user/yalimedia_course_user/edit')}"
                           data-operate-add="{:$auth->check('user/yalimedia_course_user/add')}"
                           data-operate-del="{:$auth->check('user/yalimedia_course_user/del')}"
                           width="100%">
                    </table>

                </div>

            </div>
            <div class="tab-pane fade" id="two">
                <div class="widget-body no-padding">
                    <div id="toolbar2" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>

                    </div>
                    <table id="table2" class="table table-striped table-bordered table-hover table-nowrap" width="100%">
                    </table>

                </div>

            </div>

        </div>

    </div>

</div>

